<script setup>
  import {ref} from 'vue'
  const val = ref('hello')
</script>

<template>
    <div>
      <input type="text" v-model="val">
      <p>{{val}}</p>
    </div>
</template>

<style scoped>

</style>